#This makefile makes all the main book code with CppUTest test harness

#Set this to @ to keep the makefile quiet
SILENCE = @

#---- Outputs ----#
COMPONENT_NAME = ChromeSSH_Tests

#--- Inputs ----#
CPPUTEST_HOME = ../frameworks/CppUTest

#CPP_PLATFORM = /home/bkutzman/work/nacl_sdk/pepper_15/toolchain/linux_x86_newlib/bin/i686-nacl-gcc
CPP_PLATFORM = gcc

PROJECT_HOME_DIR = .

SRC_DIRS = \
	../../src/nacl/ \

TEST_SRC_DIRS = \
	.\
	
INCLUDE_DIRS =\
  .\
  $(CPPUTEST_HOME)/include\
  $(NACL_SDK_ROOT)/pepper_15/toolchain/linux_x86_newlib/x86_64-nacl/include/ \
  $(NACL_SDK_ROOT)/pepper_15/toolchain/linux_x86_newlib/i686-nacl/usr/include/ \
  ../../src/nacl/custom/include \

MOCKS_SRC_DIRS = \
	mocks\
	
CPPUTEST_WARNINGFLAGS = -Wall -Wswitch-default -Werror 
#CPPUTEST_CFLAGS = -std=c89 
CPPUTEST_CFLAGS += -Wall -Wstrict-prototypes -pedantic
LD_LIBRARIES = -lpthread -lsrpc -lssh2 -lz -lnosys -lcrypto -lpthread -lsrpc -lssh2 -lz -lnosys -lcrypto
	
  
include $(CPPUTEST_HOME)/build/MakefileWorker.mk

